<!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>商之联运营商后台</title>
  <meta name="description" content="这是一个form页面">
  <meta name="keywords" content="form">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="icon" type="image/png" href="{:C('SUPPLIER_ADMIN_IMAGE')}favicon.png"> <link rel="apple-touch-icon-precomposed" href="{:C('SUPPLIER_ADMIN_IMAGE')}app-icon72x72@2x.png">
  <meta name="apple-mobile-web-app-title" content="Amaze UI" />
  <link rel="stylesheet" href="{:C('SUPPLIER_ADMIN_CSS')}amazeui.min.css"/>
  <link rel="stylesheet" href="{:C('SUPPLIER_ADMIN_CSS')}admin.css">
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
  以获得更好的体验！</p>
<![endif]-->
<!-- header start-->

<include file="Public:header"/>

<!-- header end-->

<div class="am-cf admin-main">
 <!-- sidebar start -->
   <include file="Public:menu"/>
  <!-- sidebar end -->
  
  <!-- content start -->
  <div class="admin-content">
  <!-- 基本信息 start-->
  <div class="am-cf am-padding">
      <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">订单列表</strong> / <small>订单详情</small></div>
    </div>
    <!--基本信息start -->
    <div class="am-g">
      <section class="am-panel am-panel-default">
        <header class="am-panel-hd">
          <h3 class="am-panel-title">基本信息</h3>
        </header>
        <div class="am-panel-bd">
                  <table class="am-table am-table-bd am-table-striped admin-content-table">
                    <tbody>
                    
                    <volist name="re" id="res">
                    <tr> <td align="right">收货人：{$res['consignee']}</td><td></td>
                    <td align="right">联系方式:{$res['mobile']}</td><td> </td>
                    </tr>
                    <tr>
                    <td align="right">收货地址:{$res[province]}{$res['city']}{$res['district']}{$res['address']}</td><td></td>
                    </tr>
                    
                  <!--  <volist name="res['supper']" id="sup">
                   <tr>
                   <td align="right">供应商信息:{$sup['contactname']}</td> <td></td>
                   <td align="right">公司:{$sup['companyname']}</td> <td></td>
                   </tr>
                   <tr>
                     <td align="right">电话:{$sup['mobile']}</td><td></td>
                     
                   </tr>
                    </volist> -->
                    </volist>
                    </tbody>
                  </table>
         
        </div>
    </section>
    </div>
    <!--基本信息end -->
    <!--s商品start -->
     <div class="am-g">
      <section class="am-panel am-panel-default">
        <header class="am-panel-hd">
          <h3 class="am-panel-title">商品信息</h3>
        </header>
        <div class="am-panel-bd">
        <foreach name="re" item="res">
                  <table class="am-table am-table-bd am-table-striped admin-content-table">
                    <thead>
                      <td>订单编号</td>
                      <td>商品</td>
                      <td>属性</td>
                      <td>单价</td>
                       <td>毛利额</td>
                      <td>毛利率(%)</td>
                      <td>数量</td>
                      <td>商品总价</td>
                    </thead>
                    <tbody>
                    <td>{$res['order_sn']}</td>
                    <td>{$res['itemname']}</td>
                    <td>{$res['specvale']}</td>
                    <td>{$res['price']}</td>
                   <td>
                    <?php if(!$profit){
                     echo "暂无" ;
                      }else{
                        echo $profit;
                        };?></td>
                    <td> <?php if(!$rate){
                     echo "暂无" ;
                      }else{
                        echo $rate;
                        };?></td>
                    <td>{$res['number']}</td>
                    <td>{$res['order_amount']}</td>
                    </tbody>
                  </table> 
                  </foreach>     
        </div>
    </section>
    </div>
    <!--商品信息end-->
    <!-- 订单状态-->
     <!--  <div class="am-g">
      <section class="am-panel am-panel-default">
        <header class="am-panel-hd">
          <h3 class="am-panel-title">订单状态</h3>
        </header>
        <div class="am-panel-bd">
                  <switch name="orderstatus">
                    <case value="0"> 
                    <img  src="__PUBLIC__/common/image/notcheck.png " style="display:block" />
                    <span>{$order['create_time'] |date="Y-m-d  H:i:s ",###}</span>
                    </case>
                    <default/>
                  </switch>
         
        </div>
    </section>
    <button type="button" class="am-btn am-btn-warning" style="margin-right:10px">支付订单</button>
    <button type="button" class="am-btn am-btn-warning">取消订单</button>
    </div>-->
    <!--订单状态 -->

    </div>

  <!-- content end -->

  <!--footer start-->
  <footer>
  <hr>
  <p class="am-padding-left">© 2014 商之联.</p>
</footer>
<!-- footer end -->
<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="{:C('SUPPLIER_ADMIN_JS')}polyfill/rem.min.js"></script>
<script src="{:C('SUPPLIER_ADMIN_JS')}polyfill/respond.min.js"></script>
<script src="{:C('SUPPLIER_ADMIN_JS')}amazeui.legacy.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="{:C('SUPPLIER_ADMIN_JS')}jquery.min.js"></script>
 <script src="{:C('SHOP_HOME_JS')}amazeui.min.js"></script>  <script src="{:C('SUPPLIER_ADMIN_JS')}amazeui.min.js"></script>
 <!--<![endif]-->  <!--<![endif]-->
<script src="{:C('SHOP_HOME_JS')}app.js"></script>  <script src="{:C('SUPPLIER_ADMIN_JS')}app.js"></script>
<script type="text/javascript">
  $(function(){
       var modultname="Order";

       $('.'+modultname).addClass('am-in');
});
</script>
</body>
</html>